import request from "@/utils/request.js"



export function sendCode(data) {
	return request({
		url: `/user/verifycode.php`,
		method: 'GET',
		data
	})
}

export function userBindMobile(data) {
	return request({
		url: `/user/register.php`,
		method: 'GET',
		data,
		noLoading:true
	})
}

export function userCodeLogin(data) {
	return request({
		url: `/user/login/codelogin.php`,
		method: 'GET',
		data,
		noLoading:true
	})
}


export function testEncode(data) {
	return request({
		url: `/test/test/encode.php`,
		method: 'GET',
		data,
		noLoading:true
	})
}